QoDesk.UsersWindow = Ext.extend(Ext.app.Module, {
   id: 'basic-users',
   type: 'basic/users',

   init : function(){
   },
	
	createWindow : function(){
		var desktop = this.app.getDesktop();
		var win = desktop.getWindow('users-win');
		if(!win){
			var winWidth = desktop.getWinWidth() / 1.1;
			var winHeight = desktop.getWinHeight() / 1.1;
			
			win = desktop.createWindow({
				id: 'users-win',
				title:'用户管理',
				iconCls: 'users-icon',
				width:winWidth,
				height:winHeight,
				x:desktop.getWinX(winWidth),
				y:desktop.getWinY(winHeight),
				html: '<iframe src="http://www.google.com.hk/" width="100%" height="100%"/>'
			});
		}
		win.show();
	}
});